from django.http import HttpResponse
from django.shortcuts import render_to_response
from form import upsampleForm
import datetime

def upfiletable(request):
    if request.method == 'POST':
        form = upsampleForm(request.POST)
        if form.is_valid():
            cd = form.cleaned_data
            return HttpResponse('Thanks uploadsample')
    else:
        form = upsampleForm()
    return render_to_response('upfrom.html', {'form': form})


def temp(request):
    return render_to_response('base.html')